package main

import (
	"fmt"
	"strconv"
)

func main() {
	// 字符串转整形
	str := 100
	i := strconv.Itoa(str)
	fmt.Println(i)

	str1 := "true"

	bools, _ := strconv.ParseBool(str1)
	fmt.Println(bools)
}
